/**
 * 
 */
package com.planner.core.action.node.form;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.collections.Factory;
import org.apache.commons.collections.ListUtils;
import org.apache.struts.action.ActionMapping;

/**
 * @author Sangharsh
 *
 */
public class MultipleNodeDetailsForm extends UploadNodeFile {
	List<NodeDetailForm> nodes;
	public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {

		nodes = ListUtils.lazyList(new ArrayList<NodeDetailForm>(), new Factory() {
            public NodeDetailForm create() {
                return new NodeDetailForm();
            }
        });
     }
	/**
	 * @return the nodes
	 */
	public List<NodeDetailForm> getNodes() {
		return nodes;
	}
	/**
	 * @param nodes the nodes to set
	 */
	public void setNodes(List<NodeDetailForm> nodes) {
		this.nodes = nodes;
	}
	
}
